<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安装</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sqlsrv.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sqlsrv.configuration.html">运行时配置</a></div>
 <div class="up"><a href="sqlsrv.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sqlsrv.installation" class="section">
 <h2 class="title">安装</h2>
 <p class="para">
  The SQLSRV extension is enabled by adding appropriate DLL file to your PHP 
  extension directory and the corresponding entry to the <var class="filename">php.ini</var> file. The SQLSRV 
  download comes 8 driver files, four of which are for PDO support. If you are 
  running non-thread-safe PHP (PHP 5.3), use the php_sqlsrv_53_nts.dll file. 
  (You should use a non-thread-safe version if you are using IIS as your web 
  server). If you are running thread-safe PHP, use the php_sqlsrv_53_ts.dll file. 
  Similarly for PHP 5.4, use the php_sqlsrv_54_nts.dll or php_sqlsrv_54_ts.dll 
  depending on whether your PHP installation is non-thread-safe or thread-safe. 
 </p>
 <p class="para">
  The most recent version of the driver is available for download here:
  <a href="http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx" class="link external">&raquo;&nbsp;SQLSRV 3.0 download</a>. If you need support 
  for PHP 5.2 and/or PHP compiled with VC6, use the 2.0 release of the driver: 
  <a href="http://download.microsoft.com/download/C/D/B/CDB0A3BB-600E-42ED-8D5E-E4630C905371/SQLSRV20.EXE" class="link external">&raquo;&nbsp;SQLSRV 2.0 download</a>.
 </p>
 <p class="para">
  For more information about SQLSRV requirements, see 
  <a href="http://msdn.microsoft.com/en-us/library/cc296170.aspx" class="link external">&raquo;&nbsp;SQLSRV System Requirements</a>.
 </p>
 <p class="para">
  The SQLSRV extension is only compatible with PHP running on Windows.
 </p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sqlsrv.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sqlsrv.configuration.html">运行时配置</a></div>
 <div class="up"><a href="sqlsrv.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
